Closed
Bug 1963059
Opened 1 month ago
Closed 1 month ago
Navigation API: Correctly find the associated global's document
Categories
(Core :: DOM: Navigation, task)
Core
DOM: Navigation
Tracking
()
RESOLVED
FIXED
140 Branch
Tracking | Status | |
---|---|---|
firefox140 | --- | fixed |
People
(Reporter: jjaschke, Assigned: farre)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Currently, the code uses EventTarget::GetDocumentIfCurrent()
whenever the spec says
Let document be this's relevant global object's associated Document.
The right way to do this should be
Document* doc = GetOwnerGlobal()->GetAsInnerWindow()->GetDoc();
Assignee | ||
Updated•1 month ago
|
Assignee: nobody → afarre
Status: NEW → ASSIGNED
Pushed by jjaschke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/794b65b2c774
Add helpers to get associated document. r=jjaschke
Updated•1 month ago
|
Blocks: navigation-api
Assignee | ||
Comment 2•1 month ago
|
||
Comment 3•1 month ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
status-firefox140:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch
Updated•5 days ago
|
QA Whiteboard: [qa-triage-done-c141/b140]
You need to log in
before you can comment on or make changes to this bug.
Description
•